package com.ruoyi.zsyh.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 配件店平台配件产品属性对象 zsyh_store_attribute
 * 
 * @author yuexl
 * @date 2022-02-28
 */
public class ZsyhStoreAttribute extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品属性 */
    private String id;

    /** 配件id */
    @Excel(name = "配件id")
    private String partsId;

    /** 属性id */
    @Excel(name = "属性id")
    private String attributeId;

    /** 排序 排序数字越大，排序约靠前 */
    @Excel(name = "排序 排序数字越大，排序约靠前")
    private Long attributeSoft;

    /** 销售价 */
    @Excel(name = "销售价")
    private BigDecimal attributeSalePrice;

    /** 是否上架（1上架0下架） */
    @Excel(name = "是否上架", readConverterExp = "1=上架0下架")
    private String isShow;

    private String attributeName;

    private String attributeLogo;

    private String attributeRemarks;

    private String attributeWarranty;

    private String attributeInstall;

    private BigDecimal attributePayPrice;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setPartsId(String partsId) 
    {
        this.partsId = partsId;
    }

    public String getPartsId() 
    {
        return partsId;
    }
    public void setAttributeId(String attributeId) 
    {
        this.attributeId = attributeId;
    }

    public String getAttributeId() 
    {
        return attributeId;
    }
    public void setAttributeSoft(Long attributeSoft) 
    {
        this.attributeSoft = attributeSoft;
    }

    public Long getAttributeSoft() 
    {
        return attributeSoft;
    }
    public void setAttributeSalePrice(BigDecimal attributeSalePrice) 
    {
        this.attributeSalePrice = attributeSalePrice;
    }

    public BigDecimal getAttributeSalePrice() 
    {
        return attributeSalePrice;
    }
    public void setIsShow(String isShow) 
    {
        this.isShow = isShow;
    }

    public String getIsShow() 
    {
        return isShow;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("partsId", getPartsId())
            .append("attributeId", getAttributeId())
            .append("attributeSoft", getAttributeSoft())
            .append("attributeSalePrice", getAttributeSalePrice())
            .append("isShow", getIsShow())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public String getAttributeName() {
        return attributeName;
    }

    public void setAttributeName(String attributeName) {
        this.attributeName = attributeName;
    }

    public String getAttributeLogo() {
        return attributeLogo;
    }

    public void setAttributeLogo(String attributeLogo) {
        this.attributeLogo = attributeLogo;
    }

    public String getAttributeRemarks() {
        return attributeRemarks;
    }

    public void setAttributeRemarks(String attributeRemarks) {
        this.attributeRemarks = attributeRemarks;
    }

    public String getAttributeWarranty() {
        return attributeWarranty;
    }

    public void setAttributeWarranty(String attributeWarranty) {
        this.attributeWarranty = attributeWarranty;
    }

    public String getAttributeInstall() {
        return attributeInstall;
    }

    public void setAttributeInstall(String attributeInstall) {
        this.attributeInstall = attributeInstall;
    }

    public BigDecimal getAttributePayPrice() {
        return attributePayPrice;
    }

    public void setAttributePayPrice(BigDecimal attributePayPrice) {
        this.attributePayPrice = attributePayPrice;
    }
}
